package com.example.mqttclient.protocol;

public class SocketMessage extends BaseMessage {
    public boolean value;
    public SocketMessage(boolean value) {
        this.value = value;
        // 可以为插座定义一个新的类型索引，例如 5
        this.type = Type.SOCKET.index;
    }
}